
package com.liachen.stock.entity;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@NoArgsConstructor
@Data
@SuppressWarnings("unused")
public class ZsStockPool {

    private long count;
    @JSONField(name = "sortList")
    private List<Stock> stockList;
    private Strategy strategy;
    private String updateTime;

    @NoArgsConstructor
    @Data
    @SuppressWarnings("unused")
    public class Stock {
        private String capitalOrIndex;
        private String code;
        private String name;

    }

    @NoArgsConstructor
    @Data
    @SuppressWarnings("unused")
    public class Strategy {

        private long addCount;
        private String createTime;
        private long delCount;
        private long id;
        private Object items;
        private String lastOpenTime;
        private Object lastOpenTimeStr;
        private String name;
        private String selectCondition;
        private long totalCount;
        private String updateTime;
        private long userId;

    }
}
